package com.hp.service;


import com.hp.entity.Power;
import com.hp.entity.PowerTreeVo;
import com.hp.entity.RolePowerVo;
import com.hp.result.SubmitResultInfo;

import java.util.List;

public interface PowerService {
    public List<Power> findAllByRoleId(int id);

    public List<PowerTreeVo> findAllByParent(List<Power> list);


    public SubmitResultInfo authPowerByRole(List<RolePowerVo> rolePowerVos);

}
